home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
nohand11.zip
/
NOHANCHG.PPS
< prev
next >
Wrap
Text File
|
1993-05-18
|
522b
|
20 lines
string name ; declare the name variable.
string prompt ; declare the prompt variable.
prompt = "@X0A(@X0C@MINLEFT@@X0A min. left) (H)elp, Chat Command"
inputstr prompt,name,@X0A,60,mask_ascii(),highascii+lfbefore
if (upper(left(name,2)) = "HA") then
prompt = tokenstr() ; Call to tokenstr() to destroy any command line paramaters to the handle command.
kbdstuff "HA"
else
if (name = "") then
kbdstuff chr(13)
else
kbdstuff name+tokenstr()
endif
endif
end